package cate.common.table.position;

import cate.common.table.ESheet;
import easy.java.dev.note.NoteClass;

@NoteClass("阵位技能")
public class PosSkillSheet extends ESheet<PosSkillRow> {

    @Override
    public String getSheetName() {
        return "阵位技能";
    }


    public PosSkillRow findRow(int positionTid, int level) {
        PosSkillRow skillRow = null;
        for (PosSkillRow row : this.getList()) {
            if (row.positionTid == positionTid && level >= row.posLevel) {
                skillRow = row;
            }
        }
        return skillRow;
    }



}